package com.zhangwei.pojo;

import java.util.Date;
import javax.persistence.*;

public class CityInfo {
    @Id
    private Integer id;

    @Column(name = "city_name")
    private String cityName;

    @Column(name = "wcn_city_no")
    private String wcnCityNo;

    private String status;

    @Column(name = "created_time")
    private Date createdTime;

    @Column(name = "update_time")
    private Date updateTime;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return city_name
     */
    public String getCityName() {
        return cityName;
    }

    /**
     * @param cityName
     */
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    /**
     * @return wcn_city_no
     */
    public String getWcnCityNo() {
        return wcnCityNo;
    }

    /**
     * @param wcnCityNo
     */
    public void setWcnCityNo(String wcnCityNo) {
        this.wcnCityNo = wcnCityNo;
    }

    /**
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * @return created_time
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * @param createdTime
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "CityInfo{" +
                "id=" + id +
                ", cityName='" + cityName + '\'' +
                ", wcnCityNo='" + wcnCityNo + '\'' +
                ", status='" + status + '\'' +
                ", createdTime=" + createdTime +
                ", updateTime=" + updateTime +
                '}';
    }
}